package com.e7.service;

import java.util.List;

import com.e7.model.Comment;

public class CommentService {

	/**
	 * if @param tId is null then user @param userId adds comment to the picture
	 * specified by @param picId else user @param userId adds reply to the
	 * comment specified by @param commentId
	 * 
	 * @param picId
	 * @param commentId
	 * @param userId
	 * @param comment
	 */
	public void addPicComment(Integer picId, Integer commentId, Integer userId,
			String comment) {
		// TODO Auto-generated method stub

	}

	public void addVedioComment(Integer id, Integer commentId, Integer id2,
			String comment) {
		// TODO Auto-generated method stub

	}

	/**
	 * get comments of the specified(by @param type and @param id) item
	 * 
	 * @param type
	 *            the type of the item
	 *            <ul>
	 *            <li>1->activity
	 *            <li>2->picture
	 *            <li>3->album
	 *            <li>4->video
	 *            </ul>
	 * @param id
	 * @param page
	 * @param page2 
	 * @return
	 */
	public List<Comment> getComments(Integer type, Integer id, Integer num, Integer page) {
		// TODO Auto-generated method stub
		return null;
	}

}
